Class MavenCrypto
java.lang.Object
org.apache.maven.shared.release.util.MavenCrypto
A shared utility to access
DefaultSecDispatcher
service.- Since:
- TBD
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Exception thrown when "something" of crypto operation did not succeed. -
Constructor Summary
ConstructorDescriptionMavenCrypto
(org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher secDispatcher, org.sonatype.plexus.components.cipher.PlexusCipher plexusCipher) -
Method Summary
Modifier and TypeMethodDescriptionvoid
decryptProperties
(Properties properties) encryptAndDecorate
(String passwd) boolean
isEncryptedString
(String str)
-
Constructor Details
-
MavenCrypto
@Inject public MavenCrypto(org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher secDispatcher, org.sonatype.plexus.components.cipher.PlexusCipher plexusCipher)
-
-
Method Details
-
decrypt
- Throws:
MavenCrypto.MavenCryptoException
-
decryptProperties
- Throws:
MavenCrypto.MavenCryptoException
-
encryptAndDecorate
- Throws:
MavenCrypto.MavenCryptoException
-
isEncryptedString
-