/dports/net/ooni-mini/probe-engine-0.23.0/vendor/github.com/cretz/bine/torutil/ed25519/ |
H A D | ed25519.go | 38 func FromCryptoPrivateKey(key ed25519.PrivateKey) KeyPair { 52 func (p PrivateKey) KeyPair() KeyPair { func 105 type KeyPair interface { interface 132 func GenerateKey(rnd io.Reader) (KeyPair, error) { 144 return PrivateKey(digest[:]).KeyPair(), nil 148 func Sign(keyPair KeyPair, message []byte) []byte { argument
|
/dports/net/ooni-probe-cli/probe-cli-3.10.1/vendor/github.com/cretz/bine/torutil/ed25519/ |
H A D | ed25519.go | 38 func FromCryptoPrivateKey(key ed25519.PrivateKey) KeyPair { 52 func (p PrivateKey) KeyPair() KeyPair { func 105 type KeyPair interface { interface 132 func GenerateKey(rnd io.Reader) (KeyPair, error) { 144 return PrivateKey(digest[:]).KeyPair(), nil 148 func Sign(keyPair KeyPair, message []byte) []byte { argument
|
/dports/security/acmed/acmed-0.18.0/acmed/src/acme_proto/ |
H A D | certificate.rs | 3 use acme_common::crypto::{gen_keypair, KeyPair}; 6 fn gen_key_pair(cert: &Certificate) -> Result<KeyPair, Error> { in gen_key_pair() argument 12 fn read_key_pair(cert: &Certificate) -> Result<KeyPair, Error> { in read_key_pair() argument 16 pub fn get_key_pair(cert: &Certificate) -> Result<KeyPair, Error> { in get_key_pair() argument
|
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/cpp-ethereum/test/unittests/libp2p/ |
H A D | net.cpp | 68 KeyPair k = KeyPair::create(); in createTestNodes() 275 KeyPair m_alias; 381 KeyPair k = KeyPair::create(); in BOOST_AUTO_TEST_CASE() 408 KeyPair k = KeyPair::create(); in BOOST_AUTO_TEST_CASE() 549 KeyPair k = KeyPair::create(); in BOOST_AUTO_TEST_CASE() 660 auto nodeKeyPair = KeyPair::create(); in BOOST_AUTO_TEST_CASE() 869 KeyPair newNodeKeyPair = KeyPair::create(); in BOOST_AUTO_TEST_CASE() 875 KeyPair target = KeyPair::create(); in BOOST_AUTO_TEST_CASE() 945 KeyPair newNodeKeyPair = KeyPair::create(); in BOOST_AUTO_TEST_CASE() 1002 KeyPair newNodeKeyPair = KeyPair::create(); in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/devel/aws-sdk-cpp/aws-sdk-cpp-1.9.129/aws-cpp-sdk-iot/include/aws/iot/model/ |
H A D | CreateProvisioningClaimResult.h | 112 inline const KeyPair& GetKeyPair() const{ return m_keyPair; } in GetKeyPair() 117 inline void SetKeyPair(const KeyPair& value) { m_keyPair = value; } in SetKeyPair() 122 inline void SetKeyPair(KeyPair&& value) { m_keyPair = std::move(value); } in SetKeyPair() 127 …inline CreateProvisioningClaimResult& WithKeyPair(const KeyPair& value) { SetKeyPair(value); retur… in WithKeyPair() 132 …inline CreateProvisioningClaimResult& WithKeyPair(KeyPair&& value) { SetKeyPair(std::move(value));… in WithKeyPair() 166 KeyPair m_keyPair;
|
H A D | CreateKeysAndCertificateResult.h | 160 inline const KeyPair& GetKeyPair() const{ return m_keyPair; } in GetKeyPair() 165 inline void SetKeyPair(const KeyPair& value) { m_keyPair = value; } in SetKeyPair() 170 inline void SetKeyPair(KeyPair&& value) { m_keyPair = std::move(value); } in SetKeyPair() 175 …inline CreateKeysAndCertificateResult& WithKeyPair(const KeyPair& value) { SetKeyPair(value); retu… in WithKeyPair() 180 …inline CreateKeysAndCertificateResult& WithKeyPair(KeyPair&& value) { SetKeyPair(std::move(value))… in WithKeyPair() 190 KeyPair m_keyPair;
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/test/sun/security/pkcs11/ec/ |
H A D | TestECDSA2.java | 39 import java.security.KeyPair; 69 private static void testSignAndVerify(String alg, KeyPair kp, Provider p) throws Exception { in testSignAndVerify() 83 private KeyPair genECKeyPair(String curvName, String privD, String pubX, in genECKeyPair() 95 return new KeyPair(pubKey, privKey); in genECKeyPair() 124 KeyPair kp = in main() 130 KeyPair kp = in main()
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/test/sun/security/pkcs11/ec/ |
H A D | TestECDSA2.java | 39 import java.security.KeyPair; 69 private static void testSignAndVerify(String alg, KeyPair kp, Provider p) throws Exception { in testSignAndVerify() 83 private KeyPair genECKeyPair(String curvName, String privD, String pubX, in genECKeyPair() 95 return new KeyPair(pubKey, privKey); in genECKeyPair() 124 KeyPair kp = in main() 130 KeyPair kp = in main()
|
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/github.com/docker/cli/cli-20.10.2/vendor/github.com/theupdateframework/notary/tuf/data/ |
H A D | keys.go | 37 type KeyPair struct { struct 156 Value: KeyPair{ 168 Value: KeyPair{ 204 Value KeyPair `json:"keyval"` 217 Value: KeyPair{ 279 Value: KeyPair{ 292 Value: KeyPair{ 305 Value: KeyPair{ 318 Value: KeyPair{ 331 Value: KeyPair{ [all …]
|
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vic/vendor/github.com/docker/docker/vendor/github.com/docker/notary/tuf/data/ |
H A D | keys.go | 37 type KeyPair struct { struct 156 Value: KeyPair{ 168 Value: KeyPair{ 204 Value KeyPair `json:"keyval"` 217 Value: KeyPair{ 279 Value: KeyPair{ 292 Value: KeyPair{ 305 Value: KeyPair{ 318 Value: KeyPair{ 331 Value: KeyPair{ [all …]
|
/dports/sysutils/docker/docker-ce-18.09.5/components/cli/vendor/github.com/theupdateframework/notary/tuf/data/ |
H A D | keys.go | 37 type KeyPair struct { struct 156 Value: KeyPair{ 168 Value: KeyPair{ 204 Value KeyPair `json:"keyval"` 217 Value: KeyPair{ 279 Value: KeyPair{ 292 Value: KeyPair{ 305 Value: KeyPair{ 318 Value: KeyPair{ 331 Value: KeyPair{ [all …]
|
/dports/sysutils/helm/helm-3.5.2/vendor/github.com/docker/cli/vendor/github.com/theupdateframework/notary/tuf/data/ |
H A D | keys.go | 37 type KeyPair struct { struct 156 Value: KeyPair{ 168 Value: KeyPair{ 204 Value KeyPair `json:"keyval"` 217 Value: KeyPair{ 279 Value: KeyPair{ 292 Value: KeyPair{ 305 Value: KeyPair{ 318 Value: KeyPair{ 331 Value: KeyPair{ [all …]
|
/dports/net/traefik/traefik-2.6.1/vendor/github.com/theupdateframework/notary/tuf/data/ |
H A D | keys.go | 37 type KeyPair struct { struct 156 Value: KeyPair{ 168 Value: KeyPair{ 204 Value KeyPair `json:"keyval"` 217 Value: KeyPair{ 279 Value: KeyPair{ 292 Value: KeyPair{ 305 Value: KeyPair{ 318 Value: KeyPair{ 331 Value: KeyPair{ [all …]
|
/dports/lang/gcc6-aux/gcc-6-20180516/libjava/classpath/gnu/javax/crypto/key/srp6/ |
H A D | SRPKeyPairGenerator.java | 47 import java.security.KeyPair; 177 public KeyPair generate() in generate() 229 private KeyPair hostKeyPair() in hostKeyPair() 244 KeyPair result = new KeyPair(new SRPPublicKey(new BigInteger[] { N, g, B }), in hostKeyPair() 249 private KeyPair userKeyPair() in userKeyPair() 264 KeyPair result = new KeyPair(new SRPPublicKey(new BigInteger[] { N, g, A }), in userKeyPair()
|
/dports/lang/gcc48/gcc-4.8.5/libjava/classpath/gnu/javax/crypto/key/srp6/ |
H A D | SRPKeyPairGenerator.java | 47 import java.security.KeyPair; 177 public KeyPair generate() in generate() 229 private KeyPair hostKeyPair() in hostKeyPair() 244 KeyPair result = new KeyPair(new SRPPublicKey(new BigInteger[] { N, g, B }), in hostKeyPair() 249 private KeyPair userKeyPair() in userKeyPair() 264 KeyPair result = new KeyPair(new SRPPublicKey(new BigInteger[] { N, g, A }), in userKeyPair()
|
/dports/java/bouncycastle15/crypto-169/pkix/src/test/java/org/bouncycastle/tsp/test/ |
H A D | TSPTestUtil.java | 6 import java.security.KeyPair; 112 public static KeyPair makeKeyPair() in makeKeyPair() 142 public static X509Certificate makeCertificate(KeyPair _subKP, in makeCertificate() 143 String _subDN, KeyPair _issKP, String _issDN) in makeCertificate() 150 public static X509Certificate makeCACertificate(KeyPair _subKP, in makeCACertificate() 151 String _subDN, KeyPair _issKP, String _issDN) in makeCACertificate() 158 public static X509Certificate makeCertificate(KeyPair _subKP, in makeCertificate() 159 String _subDN, KeyPair _issKP, String _issDN, boolean _ca) in makeCertificate()
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libjava/classpath/gnu/javax/crypto/key/srp6/ |
H A D | SRPKeyPairGenerator.java | 47 import java.security.KeyPair; 177 public KeyPair generate() in generate() 229 private KeyPair hostKeyPair() in hostKeyPair() 244 KeyPair result = new KeyPair(new SRPPublicKey(new BigInteger[] { N, g, B }), in hostKeyPair() 249 private KeyPair userKeyPair() in userKeyPair() 264 KeyPair result = new KeyPair(new SRPPublicKey(new BigInteger[] { N, g, A }), in userKeyPair()
|
/dports/lang/gnat_util/gcc-6-20180516/libjava/classpath/gnu/javax/crypto/key/srp6/ |
H A D | SRPKeyPairGenerator.java | 47 import java.security.KeyPair; 177 public KeyPair generate() in generate() 229 private KeyPair hostKeyPair() in hostKeyPair() 244 KeyPair result = new KeyPair(new SRPPublicKey(new BigInteger[] { N, g, B }), in hostKeyPair() 249 private KeyPair userKeyPair() in userKeyPair() 264 KeyPair result = new KeyPair(new SRPPublicKey(new BigInteger[] { N, g, A }), in userKeyPair()
|
/dports/devel/mingw32-gcc/gcc-4.8.1/libjava/classpath/gnu/javax/crypto/key/srp6/ |
H A D | SRPKeyPairGenerator.java | 47 import java.security.KeyPair; 177 public KeyPair generate() in generate() 229 private KeyPair hostKeyPair() in hostKeyPair() 244 KeyPair result = new KeyPair(new SRPPublicKey(new BigInteger[] { N, g, B }), in hostKeyPair() 249 private KeyPair userKeyPair() in userKeyPair() 264 KeyPair result = new KeyPair(new SRPPublicKey(new BigInteger[] { N, g, A }), in userKeyPair()
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/com/oracle/security/ucrypto/ |
H A D | TestRSA.java | 168 private static KeyPair genRSAKey(int keyLength) throws Exception { in genRSAKey() 174 private static KeyPair genPredefinedRSAKeyPair(String prov) throws Exception { in genPredefinedRSAKeyPair() 193 return new KeyPair(pubKey, privKey); in genPredefinedRSAKeyPair() 212 private static KeyPair kp[] = null; 221 KeyPair pkp = genPredefinedRSAKeyPair("SunPKCS11-Solaris"); in doTest() 237 kp = new KeyPair[keyLens.length]; in doTest() 245 private static void testCipher(KeyPair kp, int inputSizeInBytes, in testCipher() 307 private static void testEncryption(Cipher c1, Cipher c2, KeyPair kp, byte[] data) in testEncryption() 349 private static void testSignature(KeyPair kp, boolean checkInterop, in testSignature() 402 private static void testSigning(Signature sig1, Signature sig2, KeyPair kp, byte[] data) in testSigning()
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/com/oracle/security/ucrypto/ |
H A D | TestRSA.java | 168 private static KeyPair genRSAKey(int keyLength) throws Exception { in genRSAKey() 174 private static KeyPair genPredefinedRSAKeyPair(String prov) throws Exception { in genPredefinedRSAKeyPair() 193 return new KeyPair(pubKey, privKey); in genPredefinedRSAKeyPair() 212 private static KeyPair kp[] = null; 221 KeyPair pkp = genPredefinedRSAKeyPair("SunPKCS11-Solaris"); in doTest() 237 kp = new KeyPair[keyLens.length]; in doTest() 245 private static void testCipher(KeyPair kp, int inputSizeInBytes, in testCipher() 307 private static void testEncryption(Cipher c1, Cipher c2, KeyPair kp, byte[] data) in testEncryption() 349 private static void testSignature(KeyPair kp, boolean checkInterop, in testSignature() 402 private static void testSigning(Signature sig1, Signature sig2, KeyPair kp, byte[] data) in testSigning()
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/com/oracle/security/ucrypto/ |
H A D | TestRSA.java | 168 private static KeyPair genRSAKey(int keyLength) throws Exception { in genRSAKey() 174 private static KeyPair genPredefinedRSAKeyPair(String prov) throws Exception { in genPredefinedRSAKeyPair() 193 return new KeyPair(pubKey, privKey); in genPredefinedRSAKeyPair() 212 private static KeyPair kp[] = null; 221 KeyPair pkp = genPredefinedRSAKeyPair("SunPKCS11-Solaris"); in doTest() 237 kp = new KeyPair[keyLens.length]; in doTest() 245 private static void testCipher(KeyPair kp, int inputSizeInBytes, in testCipher() 307 private static void testEncryption(Cipher c1, Cipher c2, KeyPair kp, byte[] data) in testEncryption() 349 private static void testSignature(KeyPair kp, boolean checkInterop, in testSignature() 402 private static void testSigning(Signature sig1, Signature sig2, KeyPair kp, byte[] data) in testSigning()
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/com/oracle/security/ucrypto/ |
H A D | TestRSA.java | 168 private static KeyPair genRSAKey(int keyLength) throws Exception { in genRSAKey() 174 private static KeyPair genPredefinedRSAKeyPair(String prov) throws Exception { in genPredefinedRSAKeyPair() 193 return new KeyPair(pubKey, privKey); in genPredefinedRSAKeyPair() 212 private static KeyPair kp[] = null; 221 KeyPair pkp = genPredefinedRSAKeyPair("SunPKCS11-Solaris"); in doTest() 237 kp = new KeyPair[keyLens.length]; in doTest() 245 private static void testCipher(KeyPair kp, int inputSizeInBytes, in testCipher() 307 private static void testEncryption(Cipher c1, Cipher c2, KeyPair kp, byte[] data) in testEncryption() 349 private static void testSignature(KeyPair kp, boolean checkInterop, in testSignature() 402 private static void testSigning(Signature sig1, Signature sig2, KeyPair kp, byte[] data) in testSigning()
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/com/oracle/security/ucrypto/ |
H A D | TestRSA.java | 168 private static KeyPair genRSAKey(int keyLength) throws Exception { in genRSAKey() 174 private static KeyPair genPredefinedRSAKeyPair(String prov) throws Exception { in genPredefinedRSAKeyPair() 193 return new KeyPair(pubKey, privKey); in genPredefinedRSAKeyPair() 212 private static KeyPair kp[] = null; 221 KeyPair pkp = genPredefinedRSAKeyPair("SunPKCS11-Solaris"); in doTest() 237 kp = new KeyPair[keyLens.length]; in doTest() 245 private static void testCipher(KeyPair kp, int inputSizeInBytes, in testCipher() 307 private static void testEncryption(Cipher c1, Cipher c2, KeyPair kp, byte[] data) in testEncryption() 349 private static void testSignature(KeyPair kp, boolean checkInterop, in testSignature() 402 private static void testSigning(Signature sig1, Signature sig2, KeyPair kp, byte[] data) in testSigning()
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/utils/ |
H A D | certgen.c | 40 RSA *KeyPair = PyCapsule_GetPointer(capsule, NULL); in free_rsa_keypair() local 41 if (KeyPair) RSA_free(KeyPair); in free_rsa_keypair() 46 RSA *KeyPair = NULL; in create_rsa_keypair() local 55 KeyPair = RSA_new(); in create_rsa_keypair() 56 if (!KeyPair) return set_error("RSA_new"); in create_rsa_keypair() 61 ret = RSA_generate_key_ex(KeyPair, keysize, BigNumber, NULL); in create_rsa_keypair() 65 ans = PyCapsule_New(KeyPair, NULL, free_rsa_keypair); in create_rsa_keypair() 69 if (!ans && KeyPair) RSA_free(KeyPair); in create_rsa_keypair() 98 RSA *KeyPair = NULL; local 112 KeyPair = PyCapsule_GetPointer(capsule, NULL); [all …]
|