@Singleton @Named public class MavenCrypto extends Object
DefaultSecDispatcher
service.Modifier and Type | Class and Description |
---|---|
static class |
MavenCrypto.MavenCryptoException
Exception thrown when "something" of crypto operation did not succeed.
|
Constructor and Description |
---|
MavenCrypto(org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher secDispatcher,
org.sonatype.plexus.components.cipher.PlexusCipher plexusCipher) |
Modifier and Type | Method and Description |
---|---|
String |
decrypt(String value) |
void |
decryptProperties(Properties properties) |
String |
encryptAndDecorate(String passwd) |
boolean |
isEncryptedString(String str) |
@Inject public MavenCrypto(org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher secDispatcher, org.sonatype.plexus.components.cipher.PlexusCipher plexusCipher)
public String decrypt(String value) throws MavenCrypto.MavenCryptoException
MavenCrypto.MavenCryptoException
public void decryptProperties(Properties properties) throws MavenCrypto.MavenCryptoException
MavenCrypto.MavenCryptoException
public String encryptAndDecorate(String passwd) throws MavenCrypto.MavenCryptoException
MavenCrypto.MavenCryptoException
public boolean isEncryptedString(String str)
Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.