Uses of Class
net.i2p.crypto.SigType
-
Packages that use SigType Package Description net.i2p.client Interfaces and factories for the base I2P SDK used to develop applications that communicate through I2P.net.i2p.client.impl Implements the base I2P SDK for developing applications that communicate through I2P.net.i2p.crypto These classes provide a number of low-level cryptographic routines.net.i2p.data These classes define the common data structures used by the various I2P protocols.net.i2p.data.i2cp The Invisible Internet Client Protocol (I2CP) allows applications simplified access to the I2P network without requiring them to deal with the issues involved with the Invisible Internet Network Protocol (I2NP).net.i2p.i2ptunnel Implementation of preconfigured tunnels, both for clients and servers, and a UI for adding more and editing the configuration.net.i2p.router.networkdb.kademlia The network database, including implementation of floodfills.net.i2p.router.startup The I2P startup package loads the configuration when I2P is started.net.i2p.router.web.helpers Helpers and handlers for the router console user interface, with these classes supporting the webapp in routerconsole.war.net.i2p.sam The SAM client API. -
-
Uses of SigType in net.i2p.client
Fields in net.i2p.client declared as SigType Modifier and Type Field Description static SigTypeI2PClient. DEFAULT_SIGTYPEMethods in net.i2p.client with parameters of type SigType Modifier and Type Method Description DestinationI2PClient. createDestination(OutputStream destKeyStream, SigType type)Create a destination with the given signature type.DestinationI2PSimpleClient. createDestination(OutputStream destKeyStream, SigType type)Deprecated.Don't do this -
Uses of SigType in net.i2p.client.impl
Methods in net.i2p.client.impl with parameters of type SigType Modifier and Type Method Description DestinationI2PClientImpl. createDestination(OutputStream destKeyStream, SigType type)Create a destination with the given signature type. -
Uses of SigType in net.i2p.crypto
Methods in net.i2p.crypto that return SigType Modifier and Type Method Description static SigTypeSigType. getByCode(int code)static SigTypeBlinding. getDefaultBlindedType(SigType unblindedType)What's the default blinded type for a given unblinded type?SigTypeSU3File. getSigType()This does not check the signature, but it will fail if the signer is unknown, unless setVerifySignature(false) has been called.static SigTypeSigType. parseSigType(String stype)Convenience for user appsstatic SigTypeSigType. valueOf(String name)Returns the enum constant of this type with the specified name.static SigType[]SigType. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.i2p.crypto with parameters of type SigType Modifier and Type Method Description static Object[]KeyStoreUtil. createKeysAndCRL(File ks, String ksPW, String alias, String cname, String ou, int validDays, SigType type, String keyPW)New way - Native Java, does not call out to keytool.static Object[]KeyStoreUtil. createKeysAndCRL(File ks, String ksPW, String alias, String cname, Set<String> altNames, String ou, int validDays, SigType type, String keyPW)New way - Native Java, does not call out to keytool.static SigningPrivateKeySigUtil. fromJavaKey(ECPrivateKey pk, SigType type)static SigningPublicKeySigUtil. fromJavaKey(ECPublicKey pk, SigType type)static SigningPrivateKeySigUtil. fromJavaKey(RSAPrivateKey pk, SigType type)As of 0.9.31, if pk is a RSAPrivateCrtKey, this will return a RSASigningPrivateCrtKey.static SigningPublicKeySigUtil. fromJavaKey(RSAPublicKey pk, SigType type)static SigningPrivateKeySigUtil. fromJavaKey(PrivateKey pk, SigType type)Use if SigType is known.static SigningPublicKeySigUtil. fromJavaKey(PublicKey pk, SigType type)Use if SigType is known.static SigningPrivateKeySigUtil. fromJavaKey(EdDSAPrivateKey pk, SigType type)static SigningPublicKeySigUtil. fromJavaKey(EdDSAPublicKey pk, SigType type)static SignatureSigUtil. fromJavaSig(byte[] asn, SigType type)static Object[]SelfSignedGenerator. generate(String cname, String ou, String o, String l, String st, String c, int validDays, SigType type)static Object[]SelfSignedGenerator. generate(String cname, Set<String> altNames, String ou, String o, String l, String st, String c, int validDays, SigType type)SimpleDataStructure[]KeyGenerator. generateSigningKeys(SigType type)Generic signature type, supports DSA, RSA, ECDSA, EdDSAstatic SigTypeBlinding. getDefaultBlindedType(SigType unblindedType)What's the default blinded type for a given unblinded type?PublicKeyDirKeyRing. getKey(String keyName, String scope, SigType type)Cert must be in the file (escaped keyName).crt, and have a CN == keyName.PublicKeyKeyRing. getKey(String keyName, String scope, SigType type)Get a key.static PrivateKeySigUtil. importJavaPrivateKey(File file, SigType type)static PublicKeySigUtil. importJavaPublicKey(File file, SigType type)SignatureDSAEngine. sign(SimpleDataStructure hash, PrivateKey privKey, SigType type)Generic signature type.voidSU3File. write(File content, int fileType, int contentType, String version, String signer, PrivateKey privkey, SigType sigType)One-pass wrap and sign the content. -
Uses of SigType in net.i2p.data
Methods in net.i2p.data that return SigType Modifier and Type Method Description SigTypeBlindData. getBlindedSigType()SigTypeKeyCertificate. getSigType()SigTypeKeysAndCert. getSigType()SigTypeSignature. getType()SigTypeSigningPrivateKey. getType()SigTypeSigningPublicKey. getType()Methods in net.i2p.data with parameters of type SigType Modifier and Type Method Description DestinationPrivateKeyFile. createIfAbsent(SigType type)Create with the specified signature type if nonexistent.CertificatePrivateKeyFile. setKeyCert(SigType type)Change cert type - caller must also call write().Constructors in net.i2p.data with parameters of type SigType Constructor Description BlindData(I2PAppContext ctx, Destination dest, SigType blindType, String secret)BlindData(I2PAppContext ctx, Destination dest, SigType blindType, String secret, int authType, PrivateKey authKey)BlindData(I2PAppContext ctx, SigningPublicKey spk, SigType blindType, String secret)BlindData(I2PAppContext ctx, SigningPublicKey spk, SigType blindType, String secret, int authType, PrivateKey authKey)KeyCertificate(SigType type)A KeyCertificate with crypto type 0 (ElGamal) and the signature type as specified.KeyCertificate(SigType type, EncType etype)A KeyCertificate with crypto type and the signature type as specified.Signature(SigType type)Unknown type not allowed as we won't know the length to read in the data.Signature(SigType type, byte[] data)Should we allow an unknown type here?SigningPrivateKey(SigType type)SigningPrivateKey(SigType type, byte[] data)SigningPublicKey(SigType type)SigningPublicKey(SigType type, byte[] data) -
Uses of SigType in net.i2p.data.i2cp
Constructors in net.i2p.data.i2cp with parameters of type SigType Constructor Description BlindingInfoMessage(String h, SessionId id, int expiration, int authType, SigType blindType, PrivateKey privKey, String secret)Deprecated.unimplemented on router sideBlindingInfoMessage(Destination d, SessionId id, int expiration, int authType, SigType blindType, PrivateKey privKey, String secret)BlindingInfoMessage(Hash h, SessionId id, int expiration, int authType, SigType blindType, PrivateKey privKey, String secret)Deprecated.unimplemented on router sideBlindingInfoMessage(SigningPublicKey s, SessionId id, int expiration, int authType, SigType blindType, PrivateKey privKey, String secret) -
Uses of SigType in net.i2p.i2ptunnel
Fields in net.i2p.i2ptunnel declared as SigType Modifier and Type Field Description static SigTypeTunnelController. PREFERRED_SIGTYPEThis is guaranteed to be available. -
Uses of SigType in net.i2p.router.networkdb.kademlia
Methods in net.i2p.router.networkdb.kademlia with parameters of type SigType Modifier and Type Method Description voidBlindCache. setBlinded(Destination dest, SigType blindedType, String secret)Mark a destination as known to be blinded -
Uses of SigType in net.i2p.router.startup
Methods in net.i2p.router.startup that return SigType Modifier and Type Method Description static SigTypeCreateRouterInfoJob. getSigTypeConfig(RouterContext ctx)The configured SigType to expect on read-in -
Uses of SigType in net.i2p.router.web.helpers
Methods in net.i2p.router.web.helpers with parameters of type SigType Modifier and Type Method Description voidNetDbRenderer. renderRouterInfoHTML(Writer out, int pageSize, int page, String routerPrefix, String version, String country, String family, String caps, String ip, String sybil, int port, SigType type, EncType etype, String mtu, String ipv6, String ssucaps, String tr, int cost)One String must be non-null -
Uses of SigType in net.i2p.sam
Methods in net.i2p.sam with parameters of type SigType Modifier and Type Method Description static voidSAMUtils. genRandomKey(OutputStream priv, OutputStream pub, SigType sigType)Generate a random destination key.
-